<?php

namespace FoxLib\Middleware;

use Closure;
use FoxLib\Services\LogService;
use Illuminate\Http\Request;

class LogMiddleware
{
    public function handle(Request $request, Closure $next)
    {
        $response = $next($request);
        
        LogService::push();

        return $response;
    }
}
